package creational.abstract_factory;

/**
 * @ClassName: BmwFactory
 * @Description: BmwFactory
 * @Author: liu-hao
 * @Date: 2023-05-19 23:00
 * @Version: 1.0
 **/
public class BmwFactory extends AbstractFactory {
    @Override
    public Car driverCar() {
        return new BmwCar();
    }

    @Override
    public Plane driverPlane() {
        return new BmwPlane();
    }

    @Override
    public Tank driverTank() {
        return new BmwTank();
    }
}